HipOpenSLESAudioPlayer

Undocumented in source.

Constructors

this
this(AudioConfig cfg, bool hasProAudio, bool hasLowLatencyAudio, int optimalBufferSize, int optimalSampleRate)

For understanding a bit better how the buffer size works, take a look into the documentation provided by google: https://developer.android.com/ndk/guides/audio/audio-latency#buffer-size

Members

Functions

getClip
HipAudioClipAPI getClip()
Undocumented in source. Be warned that the author may not have intended to support it.
getSource
AHipAudioSource getSource(bool isStreamed)
Undocumented in source. Be warned that the author may not have intended to support it.
loadStreamed
HipAudioClipAPI loadStreamed(string path, uint chunkSize)
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void onDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
play_streamed
bool play_streamed(AHipAudioSource src)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateStream
void updateStream(AHipAudioSource source)
Undocumented in source. Be warned that the author may not have intended to support it.
updateStreamed
void updateStreamed(AHipAudioSource source)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

config
AudioConfig config;
Undocumented in source.
hasLowLatencyAudio
bool hasLowLatencyAudio;
Undocumented in source.
hasProAudio
bool hasProAudio;
Undocumented in source.
optimalBufferSize
int optimalBufferSize;
Undocumented in source.
optimalSampleRate
int optimalSampleRate;
Undocumented in source.

Variables

itf
SLEngineItf itf;
Undocumented in source.
output
SLIOutputMix output;
Undocumented in source.
spawnedPlayers
SLIAudioPlayer*[] spawnedPlayers;
Undocumented in source.

Inherited Members

From IHipAudioPlayer

play_streamed
bool play_streamed(AHipAudioSource src)
Undocumented in source.
getClip
IHipAudioClip getClip()
Undocumented in source.
loadStreamed
IHipAudioClip loadStreamed(string path, uint chunkSize)
Undocumented in source.
updateStream
void updateStream(AHipAudioSource source)
Undocumented in source.
getSource
AHipAudioSource getSource(bool isStreamed)
Undocumented in source.
onDestroy
void onDestroy()
Undocumented in source.
update
void update()
Undocumented in source.

Meta